<!DOCTYPE html>
<p>Below there should be a blue square snapped to the blue line above it.</p>
<div style="width:300px; border-top:1px solid blue;">
    <div style="margin-left:100px; width:80px; height:80px; background:blue;"></div>
</div>
